import axios from '@/libs/api.request'

export const getQuestion_selectList = (seachParams) => {
  return axios.request({
    url: 'question_selects',
    method: 'get',
    params: seachParams,
  })
}

export const getQuestion_select = (id) => {
  return axios.request({
    url: 'question_selects/' + id,
    method: 'get'
  })
}

export const addQuestion_select = (data) => {
  return axios.request({
    url: 'question_selects',
    method: 'post',
    data: data
  })
}

export const updateQuestion_select = (id, data) => {
  return axios.request({
    url: 'question_selects/'+id,
    method: 'put',
    data: data
  })
}

export const deleteQuestion_select = (id) => {
  return axios.request({
    url: 'question_selects/'+id,
    method: 'delete'
  })
}

